#include "Boss2Entity.h"

Boss2Entity::Boss2Entity(int id, int type, double x, double y)
{
	_data = new Boss2Data(id, type, x, y);
	items = new Boss2ItemManager();
}

 void Boss2Entity::update(long time){
	_data->sprites->updateCurrent();
	items->update(time);
}

 void Boss2Entity::draw(long time){
	_data->sprites->draw();
	items->draw(time);
}

 AbstractData* Boss2Entity::getAbstractData()
{
	return _data;
}